package com.cwm.test.factory.factoryMethod1;



public class ClothesFactory extends AbstractFactory<Clothes> {
    @Override
    public Clothes produce(Class<? extends Clothes> classz) {
        Clothes clothes =  (Clothes)newInstance(classz);
        return clothes;
    }
}
